package com.maker.generator.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 映射关系
 * @author rainbow
 *
 */
public class MetaGenMappingRelation implements Serializable{

	private static final long serialVersionUID = -8182920113636423089L;
	
	private Long id;
	/**
	 * 对象
	 */
	private MetaGenObj obj;
	/**
	 * 表
	 */
	private MetaGenTable table;
	/**
	 * 什么时候建立的关系
	 */
	private Date genTime;
	/**
	 * 操作人名称
	 */
	private String userName;
	/**
	 * 操作人的ID号
	 */
	private String userId;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public MetaGenObj getObj() {
		return obj;
	}
	public void setObj(MetaGenObj obj) {
		this.obj = obj;
	}
	public MetaGenTable getTable() {
		return table;
	}
	public void setTable(MetaGenTable table) {
		this.table = table;
	}
	public Date getGenTime() {
		return genTime;
	}
	public void setGenTime(Date genTime) {
		this.genTime = genTime;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	

}
